NDepend.API Documentation
ParentAssembliesAndNamespaces(IEnumerable<IField>) Method
NDepend.CodeModel Namespace > ExtensionMethodsProjection Class > ParentAssembliesAndNamespaces Method : ParentAssembliesAndNamespaces(IEnumerable<IField>) Method
This sequence of IField objects.
Returns a sequence of ICodeElementParent objects, containing all IMember.ParentAssembly and IMember.ParentNamespace objects of all IMethod objects contained in this sequence fields.
Syntax
[Extension()]
public static IEnumerable<ICodeElementParent> ParentAssembliesAndNamespaces( 
   IEnumerable<IField> fields
)

Parameters

fields
This sequence of IField objects.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsProjection Class
ExtensionMethodsProjection Members
Overload List